package controllers

import (
	"fmt"
	"github.com/astaxie/beego"
)

// Operations about object
type ObjectController struct {
	beego.Controller
}

// @Title Get
// @router /:objectId [get]
func (c *ObjectController) Get() {
	fmt.Println(beego.AppConfig.String("ipaddr"))
}

// @Title GetAll
// @router / [get]
func (c *ObjectController) GetAll() {
	//beego.AppConfig.Set("ipaddr", "123456")
}
